package org.example.test1.newmapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.test1.result.Resulttest;

import java.util.ArrayList;

@Mapper
public interface QueryMapper {
    @Select("select * from test.brand where id = #{id}")
    public Resulttest select(int id);

    @Select("select * from test.brand")
    public ArrayList<Resulttest> selectAll();
}
